package com.pearadmin.pro.modules.mkt.domain;

import java.util.Date;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pearadmin.pro.common.web.base.domain.BaseDomain;
import lombok.Data;
import org.apache.ibatis.type.Alias;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 市场渠道管理
 * 对象 scrm_mkt_channel
 *
 * @author chenJian
 * @date 2021-09-09
 */
@Data
@Alias("MktChannel")
@TableName("scrm_mkt_channel")
public class MktChannel extends BaseDomain {

    /**
     * 主键ID
     */
    @TableField("id")
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 渠道类型
     */
    @TableField("chn_type")
    @ApiModelProperty(value = "渠道类型")
    private String chnType;

    /**
     * 渠道名称
     */
    @TableField("chn_name")
    @ApiModelProperty(value = "渠道名称")
    private String chnName;

    /**
     * 渠道负责人
     */
    @TableField("chn_head")
    @ApiModelProperty(value = "渠道负责人")
    private String chnHead;

    /**
     * 绑定学生
     */
    @TableField("chn_student")
    @ApiModelProperty(value = "绑定学生")
    private String chnStudent;

    /**
     * 电话
     */
    @TableField("phone")
    @ApiModelProperty(value = "电话")
    private String phone;

    /**
     * 邮箱
     */
    @TableField("email")
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 证件类型
     */
    @TableField("papers_type")
    @ApiModelProperty(value = "证件类型")
    private String papersType;

    /**
     * 证件号
     */
    @TableField("papers_num")
    @ApiModelProperty(value = "证件号")
    private String papersNum;

    /**
     * 收款账号
     */
    @TableField("pay_amt")
    @ApiModelProperty(value = "收款账号")
    private String payAmt;

    /**
     * 业绩计算节点
     */
    @TableField("perfm_node")
    @ApiModelProperty(value = "业绩计算节点")
    private String perfmNode;

    /**
     * 合作开始时间
     */
    @TableField("begin_time")
    @ApiModelProperty(value = "合作开始时间")
    private Date beginTime;

    /**
     * 合作结束时间
     */
    @TableField("end_time")
    @ApiModelProperty(value = "合作结束时间")
    private Date endTime;

    /**
     * 业绩预估
     */
    @TableField("forecast_num")
    @ApiModelProperty(value = "业绩预估")
    private Long forecastNum;

    /**
     * 所属片区
     */
    @TableField("belongs_add")
    @ApiModelProperty(value = "所属片区")
    private String belongsAdd;

    /**
     * 负责学校
     */
    @TableField("charge_school")
    @ApiModelProperty(value = "负责学校")
    private String chargeSchool;

    /**
     * 对接人
     */
    @TableField("dock_people")
    @ApiModelProperty(value = "对接人")
    private String dockPeople;

    /**
     * 组织性质
     */
    @TableField("organized")
    @ApiModelProperty(value = "组织性质")
    private String organized;

    /**
     * 合作形式
     */
    @TableField("trade_forms")
    @ApiModelProperty(value = "合作形式")
    private String tradeForms;

    /**
     * 渠道简介
     */
    @TableField("chn_detail")
    @ApiModelProperty(value = "渠道简介")
    private String chnDetail;

    /**
     * 佣金计算类型:0固定1按阶梯计算
     */
    @TableField("commis_type")
    @ApiModelProperty(value = "佣金计算类型:0固定1按阶梯计算")
    private Long commisType;

    /**
     * 佣金信息如:{"mix":1,max:"100",rate:"20%"}
     */
    @TableField("commis_info")
    @ApiModelProperty(value = "佣金信息如{\"mix\":1,max:\"100\",rate:\"20%\"}")
    private String commisInfo;

    /**
     * 建群及拉人试用期奖励
     */
    @TableField("bgpp_trial")
    @ApiModelProperty(value = "建群及拉人试用期奖励")
    private Long bgppTrial;

    /**
     * 建群及拉人转正后奖励
     */
    @TableField("bgpp_positive")
    @ApiModelProperty(value = "建群及拉人转正后奖励")
    private Long bgppPositive;

    /**
     * 收集各类学生群试用期奖励
     */
    @TableField("collect_trial")
    @ApiModelProperty(value = "收集各类学生群试用期奖励")
    private Long collectTrial;

    /**
     * 收集各类学生群转正后奖励
     */
    @TableField("collect_positive")
    @ApiModelProperty(value = "收集各类学生群转正后奖励")
    private Long collectPositive;

    /**
     * 寻求当地赞助合作试用期奖励
     */
    @TableField("sponsor_trial")
    @ApiModelProperty(value = "寻求当地赞助合作试用期奖励")
    private Long sponsorTrial;

    /**
     * 寻求当地赞助合作转正后奖励
     */
    @TableField("sponsor_positive")
    @ApiModelProperty(value = "寻求当地赞助合作转正后奖励")
    private Long sponsorPositive;

    /**
     * 线下活动摆展试用期奖励
     */
    @TableField("pshow_trial")
    @ApiModelProperty(value = "线下活动摆展试用期奖励")
    private Long pshowTrial;

    /**
     * 线下活动摆展转正后奖励
     */
    @TableField("pshow_positive")
    @ApiModelProperty(value = "线下活动摆展转正后奖励")
    private Long pshowPositive;

    /**
     * 活动策划试用期奖励
     */
    @TableField("plan_trial")
    @ApiModelProperty(value = "活动策划试用期奖励")
    private Long planTrial;

    /**
     * 活动策划转正后奖励
     */
    @TableField("plan_positive")
    @ApiModelProperty(value = "活动策划转正后奖励")
    private Long planPositive;

    /**
     * 每月推广工作试用期奖励
     */
    @TableField("promote_trial")
    @ApiModelProperty(value = "每月推广工作试用期奖励")
    private Long promoteTrial;

    /**
     * 每月推广工作转正后奖励
     */
    @TableField("promote_positive")
    @ApiModelProperty(value = "每月推广工作转正后奖励")
    private Long promotePositive;

    /**
     * 协议地址
     */
    @TableField("protocal_url")
    @ApiModelProperty(value = "协议地址")
    private String protocalUrl;

    /**
     * 附件地址
     */
    @TableField("accessory_url")
    @ApiModelProperty(value = "附件地址")
    private String accessoryUrl;

    /**
     * 状态:0试用期1已转正
     */
    @TableField("chn_status")
    @ApiModelProperty(value = "状态:0试用期1已转正")
    private Long chnStatus;

    /**
     * 逻辑删除
     */
    @TableField("deleted")
    @ApiModelProperty(value = "逻辑删除")
    private Integer deleted;

    /**
     * 合作状态:0未开始1合作中2合作结束
     */
    @TableField("chn_status")
    @ApiModelProperty(value = "合作状态:0未开始1合作中2合作结束")
    private Long chnTradeStatus;
    /**
     * 协议地址名称
     */
    @TableField("protocal_name")
    @ApiModelProperty(value = "协议地址名称")
    private String protocalName;
    /**
     * 附件地址名称
     */
    @TableField("accessory_name")
    @ApiModelProperty(value = "附件地址名称")
    private String accessoryName;

}
